package com.ruoyi.yanjing.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 安全文件学习信息对象 c5_safety_document_learning
 * 
 * @author whz
 * @date 2024-12-04
 */
public class SafetyDocumentLearning extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 培训ID */
    @Excel(name = "培训ID")
    private Long trainingId;

    /** 培训名称 */
    @Excel(name = "培训名称")
    private String trainingName;

    /** 安全文件ID */
    @Excel(name = "安全文件ID")
    private Long documentId;

    /** 安全文件名称 */
    @Excel(name = "安全文件名称")
    private String documentName;

    /** 学习次数 */
    @Excel(name = "学习次数")
    private Long learnCount;

    /** 学习人员 */
    @Excel(name = "学习人员")
    private String learnPerson;

    /** 学时(分钟) */
    @Excel(name = "学时(分钟)")
    private Long learnHour;

    /** 学习开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "学习开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date learnStartTime;

    /** 学习结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "学习结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date learnEndTime;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String safetyDocumentLearningExtra1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String safetyDocumentLearningExtra2;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String safetyDocumentLearningExtra3;

    /** 备用字段4 */
    @Excel(name = "备用字段4")
    private String safetyDocumentLearningExtra4;

    /** 备用字段5 */
    @Excel(name = "备用字段5")
    private String safetyDocumentLearningExtra5;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String createName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String updateName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String accountId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTrainingId(Long trainingId) 
    {
        this.trainingId = trainingId;
    }

    public Long getTrainingId() 
    {
        return trainingId;
    }
    public void setTrainingName(String trainingName) 
    {
        this.trainingName = trainingName;
    }

    public String getTrainingName() 
    {
        return trainingName;
    }
    public void setDocumentId(Long documentId) 
    {
        this.documentId = documentId;
    }

    public Long getDocumentId() 
    {
        return documentId;
    }
    public void setDocumentName(String documentName) 
    {
        this.documentName = documentName;
    }

    public String getDocumentName() 
    {
        return documentName;
    }
    public void setLearnCount(Long learnCount) 
    {
        this.learnCount = learnCount;
    }

    public Long getLearnCount() 
    {
        return learnCount;
    }
    public void setLearnPerson(String learnPerson) 
    {
        this.learnPerson = learnPerson;
    }

    public String getLearnPerson() 
    {
        return learnPerson;
    }
    public void setLearnHour(Long learnHour) 
    {
        this.learnHour = learnHour;
    }

    public Long getLearnHour() 
    {
        return learnHour;
    }
    public void setLearnStartTime(Date learnStartTime) 
    {
        this.learnStartTime = learnStartTime;
    }

    public Date getLearnStartTime() 
    {
        return learnStartTime;
    }
    public void setLearnEndTime(Date learnEndTime) 
    {
        this.learnEndTime = learnEndTime;
    }

    public Date getLearnEndTime() 
    {
        return learnEndTime;
    }
    public void setSafetyDocumentLearningExtra1(String safetyDocumentLearningExtra1) 
    {
        this.safetyDocumentLearningExtra1 = safetyDocumentLearningExtra1;
    }

    public String getSafetyDocumentLearningExtra1() 
    {
        return safetyDocumentLearningExtra1;
    }
    public void setSafetyDocumentLearningExtra2(String safetyDocumentLearningExtra2) 
    {
        this.safetyDocumentLearningExtra2 = safetyDocumentLearningExtra2;
    }

    public String getSafetyDocumentLearningExtra2() 
    {
        return safetyDocumentLearningExtra2;
    }
    public void setSafetyDocumentLearningExtra3(String safetyDocumentLearningExtra3) 
    {
        this.safetyDocumentLearningExtra3 = safetyDocumentLearningExtra3;
    }

    public String getSafetyDocumentLearningExtra3() 
    {
        return safetyDocumentLearningExtra3;
    }
    public void setSafetyDocumentLearningExtra4(String safetyDocumentLearningExtra4) 
    {
        this.safetyDocumentLearningExtra4 = safetyDocumentLearningExtra4;
    }

    public String getSafetyDocumentLearningExtra4() 
    {
        return safetyDocumentLearningExtra4;
    }
    public void setSafetyDocumentLearningExtra5(String safetyDocumentLearningExtra5) 
    {
        this.safetyDocumentLearningExtra5 = safetyDocumentLearningExtra5;
    }

    public String getSafetyDocumentLearningExtra5() 
    {
        return safetyDocumentLearningExtra5;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setUpdateId(Long updateId) 
    {
        this.updateId = updateId;
    }

    public Long getUpdateId() 
    {
        return updateId;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }
    public void setAccountId(String accountId) 
    {
        this.accountId = accountId;
    }

    public String getAccountId() 
    {
        return accountId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("trainingId", getTrainingId())
            .append("trainingName", getTrainingName())
            .append("documentId", getDocumentId())
            .append("documentName", getDocumentName())
            .append("learnCount", getLearnCount())
            .append("learnPerson", getLearnPerson())
            .append("learnHour", getLearnHour())
            .append("learnStartTime", getLearnStartTime())
            .append("learnEndTime", getLearnEndTime())
            .append("safetyDocumentLearningExtra1", getSafetyDocumentLearningExtra1())
            .append("safetyDocumentLearningExtra2", getSafetyDocumentLearningExtra2())
            .append("safetyDocumentLearningExtra3", getSafetyDocumentLearningExtra3())
            .append("safetyDocumentLearningExtra4", getSafetyDocumentLearningExtra4())
            .append("safetyDocumentLearningExtra5", getSafetyDocumentLearningExtra5())
            .append("createId", getCreateId())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateId", getUpdateId())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .append("accountId", getAccountId())
            .toString();
    }
}
